﻿
using Microsoft.EntityFrameworkCore;
using Itech_Run.Sys.Domain.Entity;

namespace Itech_Run.Sys.Domain
{
    public partial class ItechRunTestContext : DbContext
    {

        public virtual DbSet<Blog_Collect> Blog_Collect { get; set; }
        public virtual DbSet<Blog_Comment> Blog_Comment { get; set; }
        public virtual DbSet<Blog_Focus> Blog_Focus { get; set; }
        public virtual DbSet<Blog_Info> Blog_Info { get; set; }
        public virtual DbSet<Blog_Interest> Blog_Interest { get; set; }
        public virtual DbSet<Blog_PersonCategory> Blog_PersonCategory { get; set; }
        public virtual DbSet<Blog_PersonCategory_Map> Blog_PersonCategory_Map { get; set; }
        public virtual DbSet<Blog_PersonLabel> Blog_PersonLabel { get; set; }
        public virtual DbSet<Blog_PersonLabel_Map> Blog_PersonLabel_Map { get; set; }
        public virtual DbSet<Blog_Personal> Blog_Personal { get; set; }
        public virtual DbSet<Sys_Button> Sys_Button { get; set; }
        public virtual DbSet<Sys_Dictionary> Sys_Dictionary { get; set; }
        public virtual DbSet<Sys_Job> Sys_Job { get; set; }
        public virtual DbSet<Sys_Module> Sys_Module { get; set; }
        public virtual DbSet<Sys_ModuleButton> Sys_ModuleButton { get; set; }
        public virtual DbSet<Sys_ProcedureException> Sys_ProcedureException { get; set; }
        public virtual DbSet<Sys_Role> Sys_Role { get; set; }
        public virtual DbSet<Sys_RoleModule> Sys_RoleModule { get; set; }
        public virtual DbSet<Sys_RoleModuleButton> Sys_RoleModuleButton { get; set; }
        public virtual DbSet<Sys_TokenGrey> Sys_TokenGrey { get; set; }
        public virtual DbSet<Sys_User> Sys_User { get; set; }
        public virtual DbSet<Sys_UserRole> Sys_UserRole { get; set; }
        public virtual DbSet<Sys_User_RefreshToken> Sys_User_RefreshToken { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder options)
            => options.UseSqlServer("Server=.;Database=ItechRun-Test;Trusted_Connection=True;");

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {

        }
    }
}
